package com.gcb.service.impl;

import com.gcb.domain.entity.SysVersion;
import com.gcb.mapper.VersionMapper;
import com.gcb.service.IVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 项目版本Service业务层处理
 *
 * @author seh
 * @date 2023-12-27
 */
@Service
public class VersionServiceImpl implements IVersionService {
    @Autowired
    private VersionMapper sysVersionMapper;

    /**
     * 根据类型获取项目版本详细信息
     */
    @Override
    public SysVersion getByType(String type) {
        return sysVersionMapper.getByType(type);
    }
}
